﻿<prism:FlyoutView x:Class="Sumc.Client.ModernUI.Views.PrivacyPolicyFlyout"
                  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:local="using:Sumc.Client.ModernUI.Views"
                  xmlns:prism="using:Microsoft.Practices.Prism.StoreApps"
                  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                  mc:Ignorable="d"
                  prism:ViewModelLocator.AutoWireViewModel="true">

    <Grid VerticalAlignment="Stretch"
              Background="#d1d1d1">

        <!-- Root grid definition -->
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <!-- Header area for panel -->
        <Grid Grid.Row="0"
              Background="{StaticResource DefaultItemBackground}">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <Button Command="{Binding GoBackCommand}"
                    Margin="30,40,0,0"
                    VerticalAlignment="Center"
                    Style="{StaticResource SnappedBackButtonStyle}"/>
            <TextBlock Grid.Column="1"
                       Margin="10,5,0,0"
                       FontFamily="Segoe UI"
                       FontWeight="SemiLight"
                       FontSize="24"
                       TextWrapping="Wrap"
                       VerticalAlignment="Center"
                       x:Uid="PrivacyPolicyFlyoutTextBlockTitle"/>
        </Grid>

        <StackPanel Grid.Row="1"
                    Margin="50,50,50,30">
            <TextBlock TextWrapping="Wrap"
                       FontSize="14"
                       Foreground="{StaticResource DefaultDarkBrush}"
                       x:Uid="PrivacyPolicyFlyoutTextBlockContent1"
                       FontFamily="Global User Interface" />

            <TextBlock TextWrapping="Wrap"
                       Margin="0,10,0,0"
                       FontSize="14"
                       Foreground="{StaticResource DefaultDarkBrush}"
                       x:Uid="PrivacyPolicyFlyoutTextBlockContent2" />
            <TextBlock TextWrapping="Wrap"
                       FontSize="14"
                       Foreground="{StaticResource DefaultDarkBrush}"
                       x:Uid="PrivacyPolicyFlyoutTextBlockContent3" />

            <TextBlock TextWrapping="Wrap"
                       Margin="0,10,0,0"
                       FontSize="14"
                       Foreground="{StaticResource DefaultDarkBrush}"
                       x:Uid="PrivacyPolicyFlyoutTextBlockContent4" />
            <HyperlinkButton FontSize="14"
                             Foreground="{StaticResource DefaultItemBackground}"
                             Margin="-5,-5,0,0"
                             Padding="0"
                             Content="mystop.application@gmail.com"
                             VerticalAlignment="Center"
                             NavigateUri="mail:mystop.application@gmail.com" />
        </StackPanel>
    </Grid>
</prism:FlyoutView>
